<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header">
<meta charset="utf-8">
<title>申请学生</title>
	<style>
		div{
			width: 300px;
			height: 300px;
			border: solid gray 1px;
			background-color:#F5F5F6;
			margin: 100px auto;
			text-align:center;
		}
	</style>
</head>

<body>
	<div class="container">

	<p>申请学生</p>
    <form th:action="@{/students/save}" th:object="${student}" method="POST">
        <p>姓名：<input type="text" placeholder="姓名" th:field="${student.name}"/></p>
        <p>电话号码：<input type="text" placeholder="电话号码" th:field="${student.phoneNum}"/></p>
        <p>专业：<input type="text" placeholder="专业名称"  th:field="${student.profession}"></p>
        <button type="submit">新建学生</button>
    </form>
</div>
</body>
</html>
